package org.aurora.framework.boot.mybatis.flex.processor.config;

import java.io.Serializable;

/**
 * name: MapperConfig
 * <p>
 * desc: Mapper class generation config
 * </p>
 * create date: 2024-10-09 18:14:01
 *
 * @author cao.yong
 */
public class MapperConfig implements Serializable {

    /**
     * Mapper generation enabled, default not to enabled
     */
    private boolean enabled = false;

    /**
     * Mapper class name suffix
     */
    private String suffix = "Mapper";

    /**
     * Using @Mapper annotation, default not to enabled
     */
    private boolean useAnnotation = false;

    /**
     * Base package
     */
    private String basePackage;

    /**
     * Base class
     */
    private String baseClass;

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public boolean isUseAnnotation() {
        return useAnnotation;
    }

    public void setUseAnnotation(boolean useAnnotation) {
        this.useAnnotation = useAnnotation;
    }

    public String getBasePackage() {
        return basePackage;
    }

    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }

    public String getBaseClass() {
        return baseClass;
    }

    public void setBaseClass(String baseClass) {
        this.baseClass = baseClass;
    }
}
